package com.htu.mapper;

import com.htu.po.Orders;
import com.mysql.cj.x.protobuf.MysqlxCrud;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrdersMapper {

  public int saveOrders(Orders orders);
  public Orders getOrdersById(Integer orderId);
  public List<Orders> listOrderByUserId(String userId);
  public int updateOrderStateByOrderId(int orderId);

}
